package com.sf.service;

import com.sf.domain.*;

import java.util.List;

public interface IProductService {
    Product select(String name);
    /*
    * 查询我们的商品列表
    * */
    List<Product> list();
    Product product(Long id);
    void list1();
    List<UserLike>list2();

    List<UserLike> updatauserLike(Long id);
    List<Like>Likelist();
    void list11();
    List<Like> updatauserLike1(Long id);
    void upDataMySql();
    List<Department>listDepartment();
    void addDepartment(Department department);
    void updateDepartment(Department department);
    void deleteDepartment(Long id);
    boolean login(User user);
}
